package com.hx.strategy.pay;

import com.hx.strategy.pay.payport.PayStrategy;

import java.math.BigDecimal;

/**
 * @author Huathy
 * @date 2021-08-31 21:46
 * @description
 */
public class PayStrategyTest {
    public static void main(String[] args) {
        Order order = new Order("1","2021-08-31-001",new BigDecimal(200000));
        MsgRes pay = order.pay(PayStrategy.ALI_PAY);
        System.out.println(pay.toString());
    }
}
